// import request from '@/utils/request';
import request from '@apulis/request';


// const prefix = '/apflow'

// export async function getWelcomeInfo() {
//     return request(`${prefix}/api/v1/images/getUserImgAndPublicImgNum`, {
//       method: 'GET',
//     })
//   }


//   export async function getEndpoint() {
//     return request(`/iam/api/v1/authz/endpoints`, {
//       method: 'GET',
//     })
//   }


import { flowRequest } from '@/utils/request';


// const prefix = '/apflow'

export async function getWelcomeInfo() {
  return flowRequest(`/images/getUserImgAndPublicImgNum`, {
    method: 'GET',
  })
}


export async function getEndpoint() {
  return request(`/iam/api/v1/authz/endpoints`, {
    method: 'GET',
  })
}




